package com.dg.cuckoo.admin.service;

import com.dg.cuckoo.admin.dto.basicInformation.projectInformation.BasicProjectDto;
import com.dg.cuckoo.common.utils.PageModel;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface ProjectInfoServer {

    void save(BasicProjectDto basicProjectDto, MultipartFile[] file,String [] labels,String [] units) throws Exception;

    void delect(String id);

    void update(BasicProjectDto dto, MultipartFile[] file,String [] labels,String [] units,String id) throws Exception;

    String openInfo(String id);

    String clickUnitInfo();

    String clickUserInfo();

    String clickUnitTreeInfo(String unit);

    String clickLabelInfo();

    String clickTwoLabelInfo(String oneLabel);

    PageModel page(Integer page, Integer pageSize);

    void powerfulFileSave(MultipartFile[] files, String id) throws Exception;

    void delectAllFile(String id,MultipartFile[] files);

    List<BasicProjectDto> inquire(String word);
}
